﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WinImageTag
{
    public partial class FrmAddTag : Form
    {
        public string[] tags;

        public FrmAddTag()
        {
            InitializeComponent();
        }

        private void FrmAddTag_Load(object sender, EventArgs e)
        {

        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            txtTags.Text = txtTags.Text.Trim();
            tags = txtTags.Text.Split(new String[] { "\r\n" }, StringSplitOptions.None);
            this.Close();
        }
    }
}
